package com.ruoyi.baseData.domain.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ruoyi.common.core.annotation.Query;
import com.ruoyi.common.core.web.page.PageSize;
import com.ruoyi.quality.domain.InspectionTemplateMaterial;
import lombok.Data;

import java.util.Date;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class MaterialDto  extends PageSize {

    private Long id;

    /**
     *
     */
    @Query( type = Query.Type.INNER_LIKE)
    private String code;

    /**
     *
     */
    @Query( type = Query.Type.INNER_LIKE)
    private String name;

    /**
     *
     */
    private String remark;


    /**
     *
     */
    private Boolean delFlag;


    /**
     * 描述
     */
    @Query( type = Query.Type.INNER_LIKE)
    private String memo;

    /**
     * 单位
     */
    private String unit;

    /**
     * 物料分类ID new
     */
    private Long materialTypeId;


    /**
     * 熟化时间 new
     */
    private Integer maturingTime;

    /**
     * 测试时间 new
     */
    private Integer testTime;

    /**
     */
    @Query(joinName = InspectionTemplateMaterial.class, type = Query.Type.INNER_LIKE)
    private String inspectionTemplateName;
}
